#include "OutputStream.h"
using namespace yzrilyzr_array;

namespace yzrilyzr_io{
	OutputStream::OutputStream() = default;
	OutputStream::~OutputStream() = default;
	void OutputStream::write(const ByteArray &b){
		write(b, 0, b.length);
	}
	void OutputStream::write(const ByteArray &b, u_index off, u_index len){
		for(u_index i=0;i<len;i++){
			write(b[off+i]);
		}
	}
	void OutputStream::flush(){
	}
	void OutputStream::close(){
	}
}